package com.brush.system.domain.req.sysnotice;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * ClassName: SysNoticeAddReq
 * Package: com.exam.system.domain.req.sysnotice
 * Description:
 *
 * @Author luo
 * @Create 2024/8/26 19:49
 * @Version 1.0
 */
@ApiModel(value = "SysNoticeAddReq", description = "公告新增请求对象")
@Getter
@Setter
public class SysNoticeAddReq {


    /**
     * 公告标题
     */
    @ApiModelProperty(value = "公告标题", required = true)
    @NotBlank(message = "{sysnotice.not.noticeTitle}")
    private String noticeTitle;

    /**
     * 公告类型（1通知 2公告）
     */
    @ApiModelProperty(value = "公告类型（1通知 2公告）", required = true)
    @NotBlank(message = "{sysnotice.not.noticeType}")
    private String noticeType;

    /**
     * 公告状态（0正常 1关闭）
     */
    @ApiModelProperty(value = "公告状态（0正常 1关闭）", required = true)
    @NotBlank(message = "{sysnotice.not.status}")
    private String status;


    /**
     * 备注
     */
    private String remark;

    /**
     * 公告内容
     */
    private String noticeContent;

}
